using UnityEngine;
using System.Collections;

public class CameraMenu : MonoBehaviour {
	
	public int horizontalspeed = 2;
	
	void Update () {
		float h = horizontalspeed * Input.GetAxis ("Mouse X");
		transform.Rotate (0,h,0);
	}
}
